package com.ht.module.bus.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.io.Serializable;


/**
 * <p>
 * 学生出行统计信息填报表
 * </p>
 *
 * @author hejialun
 * @since 2024-08-20
 */

@TableName("t_student_trip_statistics")
@Data
@Accessors(chain = true)
public class TStudentTripStatistics{

	@ApiModelProperty("出行统计信息主键")
    @TableId
    private String tripCode;

	@ApiModelProperty("班级编码")
    @NotEmpty
    private String classCode;

	@ApiModelProperty("需运输人数")
    @NotNull
    private Integer wantNumber;

	@ApiModelProperty("不需要运输人数")
    @NotNull
    private Integer noWantNumber;

	@ApiModelProperty("学生常驻区划")
    @NotEmpty
    private String districtCode;

	@ApiModelProperty("01有效,02无效")
    private String state;

	@ApiModelProperty("创建人")
    private String createUser;

	@ApiModelProperty("创建时间")
    private LocalDateTime createDate;

	@ApiModelProperty("修改人")
    private String updateUser;

	@ApiModelProperty("修改时间")
    private LocalDateTime updateDate;

	@ApiModelProperty("逻辑删除:0未删除 1已删除")
    @TableLogic
    private Integer delFlag;

    @ApiModelProperty("班级名称")
    @TableField(exist = false)
    private String className;


    @ApiModelProperty("班级年级-通过入学年限换算")
    @TableField(exist = false)
    private String grade;


    @ApiModelProperty("年级数字")
    @TableField(exist = false)
    private Integer gradeNumber;


    @ApiModelProperty("学校编码")
    @TableField(exist = false)
    private String schoolCode;

    @ApiModelProperty("学校名称")
    @TableField(exist = false)
    private String schoolName;

    @ApiModelProperty("学校所在区划")
    @TableField(exist = false)
    private String schoolDistrictCode;

    @ApiModelProperty("学校所在区划名称")
    @TableField(exist = false)
    private String schoolDistrictName;



    @ApiModelProperty("学生常驻区划编码-街道")
    @TableField(exist = false)
    private String streetDistrictCode;

    @ApiModelProperty("学生常驻区划名称-街道")
    @TableField(exist = false)
    private String streetDistrictName;


    @ApiModelProperty("学生常驻区划编码-社区")
    @TableField(exist = false)
    private String communityDistrictCode;

    @ApiModelProperty("学生常驻区划名称-社区")
    @TableField(exist = false)
    private String communityDistrictName;

    @ApiModelProperty("年级编码")
    @TableField(exist = false)
    private String gradeCode;

    @ApiModelProperty("班级教育阶段")
    @TableField(exist = false)
    private String educationStage;

    @ApiModelProperty("学校教育阶段")
    @TableField(exist = false)
    private String educationStateName;
}
